package com.wenjunwu.blog.service;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.Page;
import com.wenjunwu.blog.entity.SystemUser;

public interface SystemUserService {

	SystemUser findUser(Long id);

	List<SystemUser> findAllUsers();

	SystemUser findById(long id);

	boolean isUserExist(SystemUser user);
	
	boolean updateUser(SystemUser currentUser);

	void save(SystemUser systemUser);

	Page<SystemUser> findUsersPage(int pageNum, int pageSize,Map<String, Object> params);

	boolean checkUser(String username);

}
